package org.dtrd.modules.record.service;

import org.dtrd.modules.record.entity.bean.MedicalListInfo;
import org.dtrd.modules.record.entity.bean.MedicalRecordInfo;
import org.dtrd.modules.record.entity.po.DtrdEntRdSigninMedicalRecord;

/**
 * @author 萧
 * @date:2021-08-22 3:28 下午
 **/
public interface IMedicalRecordService extends IRecordService<DtrdEntRdSigninMedicalRecord> {

    /**
     * 更新或修改药物打卡记录
     */
    boolean saveOrUpdateMedicalRecord(MedicalRecordInfo medicalRecordInfo);

    /**
     * 分页查询药品记录
     */
    MedicalListInfo getMedicalRecordList(Integer pageNum, Integer pageSize, Integer patientId, String startDate, String endDate);

    DtrdEntRdSigninMedicalRecord getMedicalRecordLatestByPatientId(Integer patientId);
}
